package com.example.cms.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class tmController {


    @RequestMapping("index")
    public String toIndex(){
        return "index";
    }

    @RequestMapping("jimo")
    public String toJimo(){
        return "jimo/jimo";
    }

    @RequestMapping("login")
    public String toLogin(){
        return "web/login";
    }
   @RequestMapping("home")
    public String toHome(){
        return "web/view/index/index";
    }

    /**
     * @Author Sunbird
     * @Description 客户信息
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("costmer")
    public String customerInfo(){
        return "web/view/sysCostmer/costmer";
    }
    @RequestMapping("costmerAdd")
    public String customerAdd(){
        return "web/view/sysCostmer/costmerAdd";
    }
    @RequestMapping("costmerEidt")
    public String costmerEidt(){
        return "web/view/sysCostmer/costmerEidt";
    }
    /**
     * @Author Sunbird
     * @Description 映射订单
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("orderList")
    public String orderList(){
        return "web/view/order/orderList";
    }
    @RequestMapping("orderAdd")
    public String orderAdd(){
        return "web/view/order/orderAdd";
    }
    @RequestMapping("orderEidt")
    public String orderEidt(){
        return "web/view/order/orderEidt";
    }
    /**
     * @Author Sunbird
     * @Description 映射问卷调查表
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("questionNaire")
    public String questionNaire(){
        return "web/view/questionnaire/questionNaire";
    }
    @RequestMapping("questionNaireAdd")
    public String questionNaireAdd(){
        return "web/view/questionnaire/questionAddList";
    }
    @RequestMapping("questionNaireItem")
    public String questionNaireItm(){
        return "web/view/questionnaire/questionNaireItem";
    }

    /**
     * @Author Sunbird
     * @Description 映射登录日志
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("loginLogList")
    public String loginLogList(){
        return "web/view/log/loginLogList";
    }
    /**
     * @Author Sunbird
     * @Description 映射客户日志
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("costmerLogList")
    public String costmerLogList(){
        return "web/view/log/costmerLogList";
    }
    /**
     * @Author Sunbird
     * @Description 映射操作日志
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("openationLogList")
    public String openationLogList(){
        return "web/view/log/openationLogList";
    }
    /**
     * @Author Sunbird
     * @Description //映射home
     * @Date  2018/12/12
     * @Param
     * @return
     **/
    @RequestMapping("index/home")
    public String home(){
        return "web/view/index/home";
    }

    /**
     * @Author Sunbird
     * @Description 顾问
     * @Date  2018/12/19
     * @Param
     * @return
     **/

     @RequestMapping("consultant")
    public String consultant(){
        return "web/view/consultant/consultant";
    }

    @RequestMapping("courses")
    public String courses(){
         return "web/view/courses/courses";
    }
}
